package cts.db;

/**
 * StuAnswer entity. @author MyEclipse Persistence Tools
 */

public class StuAnswer implements java.io.Serializable {

	// Fields

	private Integer AId;
	private StuSolution stuSolution;
	private Question question;
	private String AAnswer;
	private Integer AScore;

	// Constructors

	/** default constructor */
	public StuAnswer() {
	}

	/** minimal constructor */
	public StuAnswer(StuSolution stuSolution, Question question, String AAnswer) {
		this.stuSolution = stuSolution;
		this.question = question;
		this.AAnswer = AAnswer;
	}

	/** full constructor */
	public StuAnswer(StuSolution stuSolution, Question question,
			String AAnswer, Integer AScore) {
		this.stuSolution = stuSolution;
		this.question = question;
		this.AAnswer = AAnswer;
		this.AScore = AScore;
	}

	// Property accessors

	public Integer getAId() {
		return this.AId;
	}

	public void setAId(Integer AId) {
		this.AId = AId;
	}

	public StuSolution getStuSolution() {
		return this.stuSolution;
	}

	public void setStuSolution(StuSolution stuSolution) {
		this.stuSolution = stuSolution;
	}

	public Question getQuestion() {
		return this.question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public String getAAnswer() {
		return this.AAnswer;
	}

	public void setAAnswer(String AAnswer) {
		this.AAnswer = AAnswer;
	}

	public Integer getAScore() {
		return this.AScore;
	}

	public void setAScore(Integer AScore) {
		this.AScore = AScore;
	}

}